<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<title>首页_明月夜の博客</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="shortcut icon" href="/static/images/bitbug_favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" href="/static/css/comments.css">
	<link href="/static/css/base.css" rel="stylesheet">
	<link href="/static/css/index.css" rel="stylesheet">
	<link href="/static/css/m.css" rel="stylesheet">
	<script src="/static/js/jquery.min.js" type="text/javascript"></script>
	<script src="/static/js/jquery.easyfader.min.js"></script>
	<script src="/static/js/scrollReveal.js"></script>
	<script src="/static/js/wangEditor.js"></script>
	<script src="/static/js/common.js"></script>
	<script src="/static/js/xcConfirm.js"></script>
</head>

<body style="position:relative">

	<header id="header">
		<!--menu begin-->
		<div class="menu">
			<nav class="nav" id="topnav">
				<h1 class="logo"><a href="/index">明月夜の博客</a></h1>
				<li><a href="/index">网站首页</a> </li>
				<li><a href="/list">文章列表</a>
					<ul class="sub-nav">
						 {% for category in params.categories %}
                              <li>
                                  <a href="/list?category_id={{ category.id }}">{{ category.cate_name }}</a>
                              </li>
                          {% endfor %}
					</ul>
				</li>
				<li><a href="/photo">我的相册</a>
				</li>
				<li><a href="/time">时间轴</a> </li>
				<li><a href="/about">关于我</a> </li>
				<li><a href="/release">发表博客</a></li>
				<li><a href="/gbook">留言</a> </li>
			</nav>
		</div>
		<!--menu end-->
		{% if session.uid and session.uname %}
          <a id="login" target="_blank">欢迎:{{ session.uname }}</a>
          <a href="/logout" id="register" target="_blank">退出</a>
        {% else %}
          <a href="/login" id="login" target="_blank">登录</a>
          <a href="/register" id="register" target="_blank">注册</a>
        {% endif %}
		<!--mnav begin-->

		<div id="mnav">
			<h2><a href="/main" class="mlogo">明月夜の博客</a><span class="navicon"></span></h2>
			<dl class="list_dl">
				<dt class="list_dt"> <a href="/main">网站首页</a> </dt>
				<dt class="list_dt"> <a href="#">文章列表</a> </dt>
				<dd class="list_dd">
					<ul>
						 {% for category in params.categories %}
                              <li>
                                  <a href="/list?category_id={{ category.id }}">{{ category.cate_name }}</a>
                              </li>
                          {% endfor %}
					</ul>
				</dd>
				<dt class="list_dt"> <a href="/photo">我的相册</a> </dt>
				<dt class="list_dt"> <a href="/time">时间轴</a> </dt>
				<dt class="list_dt"> <a href="/gbook">留言</a> </dt>
				<dt class="list_dt"> <a href="/about">关于我</a> </dt>
			</dl>
		</div>
		<!--mnav end-->
	</header>
	<div class="pagebg sh"></div>
	<article style="margin-top:20px;">
		<div class="container ">
			<h1 class="t_nav"><span>不要轻易放弃。学习成长的路上，我们长路漫漫，只因学无止境。 </span>
				<p class="n1">留言列表</p>
			</h1>
			<!-- 左侧评论 -->
			<div class="blogsbox infosbox">
				<div class="l_box f_l" style="padding:20px;">
					<div class="entry">
						欲戴王冠，必承其重！
					</div>
					<span class="tags">
						<a href="/" rel="tag">个人博客</a>
					</span>
					<div class="info">
						Address: <a href="#" rel="bookmark" title="住在手机里的朋友">18837636</a>
					</div>
					<div class="commentstitle">
						<h3 id="comments">到现在<span class="commentsnumber">有{{ params.number }}留言</span></h3>
					</div>
					<ol class="commentlist">
						<!--先遍历父级评论-->
						<ol class="commentlist">
                                {% for reply in params.replies %}
                                    <li>
                                        <div class="top"><a class='url'>{{ reply.user.user_name }}</a>
                                            <span class="time"> @
                                                <a title="">{{ reply.reply_time }}</a>
{#                                                <a class="replyComment">回复</a>#}
                                            </span>
                                        </div>
{#                                        <div><img alt='' src='/static/images/comments.gif'  height='32' width='32' /></div>#}
                                        <div class="body">
                                            <p>{{ reply.content }}</p>
                                        </div>
                                    </li>
                                {% endfor %}
							</ol>
					</ol>
					<div id="commentform">
{#						<h3 id="respond">在这添加你的留言！</h3>#}
{#						<form action="/gbook" method="post">#}
{#                            <dir id="editor"></dir>#}
{#                            <br>#}
{#                            <p>#}
{#                                <textarea name="content" cols="80" rows="10" style="margin-left: 12px;margin-right: 12px"></textarea>#}
{#                            </p>#}
{##}
{#                            <p>#}
{#                                <input id="id_article" name="article" type="hidden" value="1">#}
{#                                <input name="user_id" type="hidden" value="{{ session.uid }}">#}
{#                                <input name="submit" type="submit" id="submit" tabindex="5" value="提交" class="button" />#}
{#                            </p>#}
{#                        </form>#}
					</div>
				</div>
			</div>
			<!-- 右侧 -->
            <div class="sidebar">
              <div class="zhuanti">
                <h2 class="hometitle">特别推荐</h2>
                <ul>
                  <li> <i><img src="/static/images/banner03.jpg"></i>
                    <p>Ubuntu下python开发环境配置 <span><a href="/info?topic_id=14">阅读</a></span> </p>
                  </li>
                  <li> <i><img src="/static/images/b04.jpg"></i>
                    <p>Python基础概念_2_基础概念<span><a href="/info?topic_id=19">阅读</a></span></p>
                  </li>
                  <li> <i><img src="/static/images/b05.jpg"></i>
                    <p>Python之if判断语句与while和for循环<span><a href="?topic_id=17">阅读</a></span></p>
                  </li>
                </ul>
              </div>
              <div class="tuijian">
                <h2 class="hometitle">推荐文章</h2>
                <ul class="tjpic">
                  <i><img src="/static/images/toppic01.jpg"></i>
                  <p><a href="/info?topic_id=7">python中打开TXT文件报错</a></p>
                </ul>
                <ul class="sidenews">
                  <li> <i><img src="/static/images/b05.jpg"></i>
                    <p><a href="/info?topic_id=13">python学习网址以及笔记</a></p>
                    <span>2018-05-13</span>
                  </li>
                  <li> <i><img src="/static/images/a.jpg"></i>
                    <p><a href="/info?topic_id=14">Ubuntu下python开发环境配置</a></p>
                    <span>2018-05-13</span>
                  </li>
                  <li> <i><img src="/static/images/d.jpg"></i>
                    <p><a href="/info?topic_id=17">Python之if判断语句与while和for循环</a></p>
                    <span>2018-05-13</span>
                  </li>
                </ul>
              </div>
               <div class="tuijian">
                <h2 class="hometitle">点击排行</h2>
                <ul class="tjpic">
                    {% for  topic in params.topics[0:1] %}
                    <i><img src="/static/{{ topic.images }}"></i>
                  <p><a href="/info?topic_id={{ topic.id }}">{{ topic.title }}</a></p>
                    {% endfor %}
                </ul>
                <ul class="sidenews">
                    {% for topic in params.topics[1:] %}
                        <li> <i><img src="/static/{{ topic.images }}"></i>
                        <p><a href="/info?topic_id={{ topic.id }}">{{ topic.title }}</a></p>
                        <span>{{ topic.pub_date.strftime('%Y-%m-%d') }}</span>
                        </li>
                    {% endfor %}
                </ul>
              </div>
              <div class="cloud">
                <h2 class="hometitle">标签云</h2>
                <ul>
                  <a href="#">python</a> <a href="#">html5</a> <a href="#">linux</a> <a href="#">AI</a>
                </ul>
              </div>
              <div class="links">
                <h2 class="hometitle">友情链接</h2>
                <ul>
                  <li><a href="#" target="_blank">Python</a></li>
                  <li><a href="#" target="_blank">爬虫</a></li>
                  <li><a href="#" target="_blank">人工智能改变世界</a></li>
                </ul>
              </div>
              <div class="guanzhu" id="follow-us">
                <h2 class="hometitle">喜欢我 关注我！</h2>
                <ul>
                  <li class="sina"><a href="#" target="_blank"><span>微信号</span>XXXXXX</a></li>
                  <li class="tencent"><a href="#" target="_blank"><span>微博号</span>XXXXXX</a></li>
                  <li class="qq"><a href="#" target="_blank"><span>QQ号</span>XXXXXX</a></li>
                  <li class="email"><a href="#" target="_blank"><span>邮箱帐号</span>XXXXXX</a></li>
                  <li class="wxgzh"><a href="#" target="_blank"><span>咨询电话</span>xxxxxxxxxxx</a></li>
                </ul>
              </div>
            </div>

		</div>
	</article>

	<footer id="footer">
		<p>Design by <a href=# target="_blank">个人博客</a> <a href="#">备XXXXXXXX号-1</a></p>
	</footer>

	<a href="#" class="cd-top">Top</a>
</body>

</html>